<template>
     <div v-html="content" class="myTextEditor" style="padding:10px"></div>
</template>
<script>
export default {
    name:"editorView",
    props:["exkey","data"],
    data(){
        return{
            pId:"",
            cId:"",
           content:""
          
        }
    },
    created(){
        let ids=this.exkey.split(".");
        this.pId=ids[0];
        this.cId=ids[1];
         this.content=unescape(this.data[this.pId][this.cId])
        let that=this;
      
    },
    methods:{
       
    },
    mounted(){
      
    },
   
}
</script>
<style scoped>
.myTextEditor>>> p{
    margin:0;
}
</style>